<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${website}resource/admin/css/admin.css" type="text/css" />
<title>都市娱乐列表</title>
</head>
<body>
	<c:if test="${fn:length(entertainmentList)<9}">
	<a href="${website}admin/city_toAddEntertainment.action">添加</a>
	</c:if>
	<table>
		<c:forEach var="entertainment" items="${entertainmentList}">
		<tr>
			<td colspan="2"><a href="${website}admin/city_toModifyEntertainment.action?id=${entertainment.id}">编辑</a></td>
		</tr>
		<tr>
			<td>城市名称</td>
			<td>${entertainment.cityName}</td>
		</tr>
		<tr>
			<td>城市娱乐概述</td>
			<td>${entertainment.sumDescription }</td>
		</tr>
		<tr>
			<td>民间戏剧</td>
			<td>${entertainment.theaterDescription }</td>
		</tr>
		<tr>
			<td>都市夜生活</td>
			<td>${entertainment.nightlifeDescription }</td>
		</tr>
		<tr>
			<td>都市休闲</td>
			<td>${entertainment.leisureDescription }</td>
		</tr>
		</c:forEach>
	</table>
	
</body>
</html>